<style type="text/css">
  .w-sm {width: 91px}
  .xheight {height: 60px}
</style>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="panel panel-info form-horizontal">
      <div class="panel-heading ">
        完善企业信息
      </div>
      <div class="panel-body">
        <div class="container-fluid">
          <div class="  wrapper-md ng-scope" style="text-align: center">
              <h1 class="m-n font-thin h3 ng-binding">完善企业信息</h1>
          </div>

          <div class="col-xs-6 col-sm-offset-2">
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">单位全称:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.company_name" placeholder="单位全称" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">公司地址:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.adress" placeholder="公司地址" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">组织机构代码:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.organization_code" placeholder="组织机构代码" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">联系人姓名:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.contact_name" placeholder="联系人姓名" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">联系人电话:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.contact_mobile" placeholder="联系人电话" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">联系人E-mail:</label>
                  <div class="col-xs-8">
                    <input type="text" class="form-control" ng-model="a.contact_email" placeholder="联系人E-mail" ng-disabled="flag == '1'"> 
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">企业简介:</label>
                  <div class="col-xs-8">
                    <textarea name="" id="" cols="47" rows="8" ng-model="a.date" placeholder="企业简介" ng-disabled="flag == '1'"></textarea>
                  </div>
              </div>
              <div class="form-group xheight">
                  <label class="col-xs-4 control-label">营业执照(三证合一):</label>
                  <div class="col-xs-8">
                      <button class="btn m-b-xs w-sm btn-info" ng-click="image()" ng-disabled="flag == '1'">
                          <i class="fa fa-file-image-o"></i> 上传图片
                      </button> 
                  </div>
              </div>
              <div class="col-sm-12" style="padding:10px" ng-repeat="item in array">           
                  <div class="col-sm-4" >         
                  </div> 
                  <div class="col-sm-6">
                      <img ng-src="{{item}}" width="100%" height="150"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                      <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                      <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)" ng-show="flag != '1'">删除</a>	
                  </div> 
              </div> 
          </div>
          <div class="col-sm-12">
              <div class="col-sm-4 col-sm-offset-5">
                  <button class="btn btn-success " ng-click="submit()" ng-disabled="flag == '1'">保存</button>
              </div>
          </div>

        </div>
      </div>
      </div>
    </div>
</div>

          

        